package com.lzy.managersystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzy.managersystem.pojo.Comment;

import java.util.List;

/**
 * @author lzy
 * @description 针对表【t_comment】的数据库操作Service
 * @createDate 2022-07-25 15:25:11
 */
public interface CommentService extends IService<Comment> {

    List<Comment> getComment(Integer id);


    //查询所有用户
    List<Comment> getAllUser();

    //插入用户信息
    int insterUser(Comment comment);

    //根据id删除用户信息
    int deleteUser(Integer id);

    //更新用户
    int updateUser(Comment comment);

}
